diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0e472cbd..5bb4af40 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -28,9 +28,7 @@ services: NBXPLORER_BIND: 0.0.0.0:32838 NBXPLORER_TRIMEVENTS: 10000 NBXPLORER_SIGNALFILESDIR: /datadir - #Keeping dbtrie for dev until it is fully removed since we would need to modify nbxplorer docker image to wait for the db to be ready - NBXPLORER_DBTRIE: 1 -# NBXPLORER_POSTGRES: Host=nbxplorer_postgres;Port=5432;Database=nbxplorer;Username=rw_dev;Password=rw_dev + NBXPLORER_POSTGRES: Host=nbxplorer_postgres;Port=5432;Database=nbxplorer;Username=rw_dev;Password=rw_dev NBXPLORER_CHAINS: "btc" NBXPLORER_BTCRPCUSER: "polaruser" NBXPLORER_BTCRPCPASSWORD: "polarpass" @@ -61,4 +59,4 @@ volumes: bitcoin_datadir: nbxplorer_datadir: nbxplorer_postgres_data: - nodeguard_data_keys_dir: \ No newline at end of file + nodeguard_data_keys_dir: diff --git a/src/Shared/PSBTSign.razor b/src/Shared/PSBTSign.razor index 9ed297ff..45cb4eb6 100644 --- a/src/Shared/PSBTSign.razor +++ b/src/Shared/PSBTSign.razor @@ -84,7 +84,7 @@ { var streamRef = await JS.InvokeAsync("getText", _PSBTField); - var stream = await streamRef.OpenReadStreamAsync(maxAllowedSize: 50_000); + var stream = await streamRef.OpenReadStreamAsync(maxAllowedSize: 1024L * 1024L); // 1MB var streamReader = new StreamReader(stream); return await streamReader.ReadToEndAsync();