Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
humblenginr committed Apr 12, 2024
1 parent 95000fd commit d521bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mining/mining.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func findValidPrevBlockHash(nBits uint32) [32]byte {
type Item txn.Transaction

func (i Item) HigherPriorityThan(other priorityQueue.Interface) bool {
return i.Priority < other.(Item).Priority
return i.Priority > other.(Item).Priority
}

var MaxBlockWeight = 4000000 - 1000 // 100 is a buffer amount
Expand Down

0 comments on commit d521bdb

Please sign in to comment.